package com.verssor.service.commons;

import com.verssor.data.daos.TurnoDao;
import com.verssor.model.Turno;

import javax.ejb.Stateless;
import javax.inject.Inject;


@Stateless
public class TurnoService extends BaseService<Turno> {

    @Inject  TurnoDao turnoDao;

    @Override
   public Turno findById(Integer idEntity) {
        return turnoDao.findById(idEntity);
    }

    @Override
    public Turno create(Turno entity) {
        return turnoDao.create(entity);
    }
}
